<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="/Java1812WebTest1/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
	<style type="text/css">
		.align-center{
			width : 700px;
			margin : 0 auto;
		}
	 </style>
</head>
<body>
	<div class="align-center">
		<table class="table table-striped table-bordered table-hover table-condensed">
			<tr>
				<td>学生编号</td>
				<td>学生姓名</td>
				<td>班级名字</td>
				<td>课程名字</td>
				<td>课程学分</td>
			</tr>
			<c:forEach items="${list}" var="map">
				<tr>
					<td>${map["s_id"]}</td>
					<td>${map["s_name"]}</td>
					<td>${map["b_name"]}</td>
					<td>${map["c_name"]}</td>
					<td>${map["c_credit"]}</td>
				</tr>
			</c:forEach>
		</table>
	</div>
</body>
</html>